package com.szwistar.common.comm.jsonrpc;

public class JsonRpcMessagePing extends JsonRpcMessageRequest {
	// 发送时的时间戳(ms)
	protected long ms = System.currentTimeMillis();
	public long getMs() { return ms; }
	public void setMs(long ms) { this.ms = ms; }

	public JsonRpcMessagePing() {
		super();
		this.msgType = MSG_PING;
	}

	public JsonRpcMessagePing(String from) {
		super(MSG_PING, from);
	}

	@Override
	public String toString() {
		return "JsonRpcMessagePing [ms=" + ms + "]";
	}
}
